.comment-lists {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100vw;
  height: calc(100vh - 70px);
  overflow-y: scroll;
}
.itembox {
  max-height: calc(100vh - 70px);
  padding-top: 20px;
  overflow-y: visible;
}
.comment-item {
  padding: 0 20px;
  display: flex;
  margin-bottom: 20px;
  &:first-child {
    margin-top: 280px;
  }
  .avator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  .comment-content {
    margin-left: 20px;
    flex: 1;
    height: auto;
    min-height: 100px;
    background-color: var(--white-base);
    border-radius: 6px;
    padding: 12px 10px 11px;
    color: var(--base-color);
    position: relative;
    &::before {
      position: absolute;
      left: -20px;
      content: "";
      width: 0;
      height: 0;
      border: 10px solid transparent;
      border-right-color: #fff;
    }
    .user-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 14px;
      .docIcon {
        width: 24px;
        height: 24px;
      }
    }
    .comment-text {
      margin-top: 16px;
      font-size: 12px;
      line-height: 16px;
      width: 100%;
      white-space: pre-wrap;
    }
    .comment-bot {
      display: flex;
      justify-content: space-between;
      margin-top: 18px;
      align-items: center;
      .times {
        font-size: 10px;
      }
      .likes {
        display: flex;
        justify-content: space-around;
        align-items: center;
        line-height: 16px;
        div {
          display: flex;
          margin-left: 16px;
          span {
            margin-left: 6px;
            font-size: 12px;
          }
          img {
            width: 16px;
            height: 16px;
          }
        }
      }
    }
  }
}
.noCommentImg {
  width: 122px;
  height: 122px;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}

// 底部评论框
.comment-ipt {
  position: fixed;
  bottom: 30px;
  display: flex;
  padding: 0 20px;
  width: 100%;
  img {
    width: 40px;
    height: 40px;
  }
  input {
    margin-left: 20px;
    flex: 1;
    width: 100%;
    height: 40px;
    border-radius: 20px;
    border: none;
    background-color: var(--base-color);
    font-size: 14px;
    color: #fff;
    text-indent: 2em;
    &::placeholder {
      color: #fff;
    }
  }
}
